import { createRouter, createWebHashHistory ,createWebHistory} from "vue-router";
import Home from "../views/Home.vue";

const routes = [
    {
        path: "/",
        name: "Home",
        component: Home,
    },
    {
        path: "/searchdetail",
        name: "SearchDetail",
        component: () =>
            import("../views/SearchDetail.vue"),
    },
    {
        path: "/myresume",
        name: "MyResume",
        component: () =>
            import("../views/MyResume.vue"),
    },
    {
        path: "/infoedit",
        name: "InfoEdit",
        component: () =>
            import("../views/InfoEdit.vue"),
    },
    {
        path: "/postrelease",
        name: "PostRelease",
        component: () =>
            import("../views/PostRelease.vue"),
    },
    {
        path: "/companycertification",
        name: "CompanyCertification",
        component: () =>
            import("../views/CompanyCertification.vue"),
    },
    {
        path: "/jobdetails",
        name: "JobDetails",
        component: () =>
            import("../views/JobDetails.vue"),
    },
    {
        path: "/mynews",
        name: "MyNews",
        component: () =>
            import("../views/MyNews.vue"),
    },
    {
        path: "/content",
        name: "Content",
        component: () =>
            import("../views/Content.vue"),
    },

];

const router = createRouter({
    history: createWebHashHistory(),
    routes,
});

export default router;
